﻿// =================================================================== 
// 项目说明
//====================================================================
// lsc @Copy Right 2019
// 文件： CompanyEntity.cs
// 项目名称：斑马车务
// 创建时间：2019-07-31
// 负责人：lsc
// ===================================================================

using System;
using Dapper.Extensions;

namespace YouWei.Infrastructure.Entity
{
	/// <summary>
	///企业表数据实体  
	/// </summary>
    [PrimaryKey("CompanyID")]
	public class Company
	{
		///<summary>
		///企业表
		///</summary>
		public Company()
		{
		}	
    
		
		///<summary>
		///主键
		///</summary>
        [Column("CompanyID","主键")]
        public int CompanyID { get; set; }

		///<summary>
		///企业名称
		///</summary>
        [Column("CompanyName","企业名称")]
        public string CompanyName { get; set; }

		///<summary>
		///联系人
		///</summary>
        [Column("ContactUser","联系人")]
        public string ContactUser { get; set; }

		///<summary>
		///省
		///</summary>
        [Column("Proince","省")]
        public int Proince { get; set; }

		///<summary>
		///市
		///</summary>
        [Column("City","市")]
        public int City { get; set; }

		///<summary>
		///区
		///</summary>
        [Column("Location","区")]
        public int Location { get; set; }

		///<summary>
		///详细地址
		///</summary>
        [Column("Address","详细地址")]
        public string Address { get; set; }

		///<summary>
		///企业简介
		///</summary>
        [Column("CompanyDesc","企业简介")]
        public string CompanyDesc { get; set; }

		///<summary>
		///联系电话
		///</summary>
        [Column("ContactMobile","联系电话")]
        public string ContactMobile { get; set; }

		///<summary>
		///逻辑标识
		///</summary>
        [Column("IsActive","逻辑标识")]
        public int IsActive { get; set; }

		///<summary>
		///创建时间
		///</summary>
        [Column("CreateDate","创建时间")]
        public DateTime CreateDate { get; set; }

		///<summary>
		///创建人
		///</summary>
        [Column("CreateUserID","创建人")]
        public int CreateUserID { get; set; }

		///<summary>
		///更新时间
		///</summary>
        [Column("UpdateDate","更新时间")]
        public DateTime UpdateDate { get; set; }

		///<summary>
		///更新人
		///</summary>
        [Column("UpdateUserID","更新人")]
        public int UpdateUserID { get; set; }

	}
}